<?php defined('InTuntronKJ') or exit('Access Invalid!');?>
<style type="text/css">
.ncm-notes { font-size: 16px; line-height: 28px;}
</style>
<div class="wrap">


  <div class="bind">
  
<div class="ncm-notes">
 <p>1、您的好友通过您的推广链接或商品链接注册并开通店铺后，您即获得该店铺的年度服务津贴200元（随时可以提现）以及淘米商城奖励给您的购物积分4000购物币
  （可以购物，不可提现），以店铺开通日起算，永久绑定，每年都拿！</p>

<p>2、您的好友通过您店铺的推广链接或是商品链接注册后并开通店铺，他们自然就成了您的分店。消费者在您的分店产生了购买，您可以终身获得淘米商城利润的10%。
   您的分店销售越多，您得到的利润越多！</p>

<p>3、如果您的好友同时也是一位供应商，入驻了淘米商城。那么您也将终身获得该供货商在淘米商城所有的销售提成，即淘米商城利润的10%。您介绍的供货商销售越多，
   您得到的利润越多！</p>
  </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:40px;">
      <tbody><tr>
        <td rowspan="3" valign="top"><img src="<?php echo SHOP_SITE_URL;?>/templates/default/images/logo_qq.gif" width="48" height="48" style="border:#CCC solid 1px;"></td>
        <td><span style="color:#349835; font-size:14px; font-weight:bold">这是您的专用邀请链接，请通过 QQ 或 MSN 发送给好友：</span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><textarea name="textarea" id="zxxTestArea" style="width:460px; height:40px; padding:3px;">我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！</textarea>
		<br>
		</td>
    
	  </tr>
      <tr>
        <td>&nbsp;</td>
        <td>
		<span id="forLoadSwf">点击复制</span> <p>粘贴到QQ群、QQ，或者通过邮件，均可推广！</p>
		</td>
      </tr>
      <tr>
        <td height="50">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><img src="<?php echo SHOP_SITE_URL;?>/templates/default/images/logo_share.gif" width="48" height="48" style="border:#CCC solid 1px;"></td>
        <td><div id="deal-share"> <span>分享到：</span>
            <ul>
              <li><a class="sina" onclick="window.open('http://v.t.sina.com.cn/share/share.php?appkey=111111&url=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&title=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">新浪微博</a></li>
              <li><a class="qq" onclick="window.open('http://v.t.qq.com/share/share.php?appkey=111111&url=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&title=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">腾讯微博</a></li>
              <li><a class="kaixin" onclick="window.open('http://www.kaixin001.com/repaste/share.php?rurl=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&rtitle=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">开心</a></li>
              <li><a class="renren" onclick="window.open('http://share.renren.com/share/buttonshare.do?link=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&title=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">人人</a></li>
              <li><a class="douban" onclick="window.open('http://www.douban.com/recommend/?url=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&title=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">豆瓣</a></li>
              <li><a class="qzone" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>&title=我最近在淘米商城开通了自己的店铺，店铺地址：http://www.tuntron.com/?rid=<?php echo $_SESSION['member_id'] ?>有空来看看哈！&pic=<?php echo SHOP_SITE_URL;?>/templates/default/images/share.jpg','_blank')" href="javascript:;">QQ空间</a></li>
            </ul>
          </div></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </tbody></table>
    <div class="clear"></div>
  </div>



</div>
 <script src="<?php echo RESOURCE_SITE_URL;?>/js/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
	var copyCon = document.getElementById("zxxTestArea").value;
	var flashvars = {
	content: encodeURIComponent(copyCon),
	uri: '<?php echo SHOP_TEMPLATES_URL;?>/images/flash_copy_btn.png'
										};
	var params = {
		wmode: "transparent",
		allowScriptAccess: "always"
	};
	swfobject.embedSWF("<?php echo RESOURCE_SITE_URL;?>/js/clipboard.swf", "forLoadSwf", "64", "25", "9.0.0", null, flashvars, params);
	function copySuccess() {
	var copyCon = document.getElementById("zxxTestArea");
		 copyCon.select();
		alert("复制成功！");
	}
</script>
<textarea id="bindtooltip_module" style="display:none;">
<div class="eject_con"><dl><dt style="width:25%"><img src="<?php echo SHOP_TEMPLATES_URL;?>/images/member/shareicon/shareicon_@apikey.png" width="40" height="40" class="mt5 mr20"></dt><dd style="width:75%"><p><?php echo $lang['sharebind_list_popup_tip1'];?><strong class="ml5 mr5">@apiname</strong><?php echo $lang['sharebind_list_popup_tip2'];?></p><p class="red"><?php echo $lang['sharebind_list_popup_tip3'];?>@apiname<?php echo $lang['sharebind_list_popup_tip4'];?></p></dd></dl>
<dl class="bottom"><dt style="width:25%">&nbsp;</dt>
        <dd style="width:75%"><a href="javascript:void(0);" nc_type="finishbtn" data-param='{"apikey":"@apikey"}' class="ncu-btn2 mr10"><?php echo $lang['sharebind_list_finishbind'];?></a><span><?php echo $lang['sharebind_list_unfinishedbind'];?><a target="_blank" href="<?php echo SHOP_SITE_URL;?>/api.php?act=sharebind&type=@apikey" class="ml5"><?php echo $lang['sharebind_list_againbind'];?></a></span></dd>
      </dl>
</div>
</textarea>
<script type="text/javascript">
$(function(){
	$("[nc_type='bindbtn']").bind('click',function(){
		var data_str = $(this).attr('data-param');
	    eval( "data_str = "+data_str);
	    var html = $("#bindtooltip_module").text();
	    //替换关键字
	    html = html.replace(/@apikey/g,data_str.apikey);
	    html = html.replace(/@apiname/g,data_str.apiname);
	    CUR_DIALOG = html_form("bindtooltip", "<?php echo $lang['sharebind_list_accountconnect'];?>", html, 360, 0);
	    window.open('api.php?act=sharebind&type='+data_str.apikey);
	});
	$("[nc_type='unbindbtn']").bind('click',function(){
		var data_str = $(this).attr('data-param');
	    eval( "data_str = "+data_str);
	    var confirm_tip = "<?php echo $lang['sharebind_list_unbind_confirmtip1'];?>"+data_str.apiname+"<?php echo $lang['sharebind_list_unbind_confirmtip2'];?>";
	    ajax_get_confirm(confirm_tip,'index.php?ac=member_sharemanage&op=unbind&type='+data_str.apikey);
	});
	$("[nc_type='finishbtn']").live('click',function(){
		CUR_DIALOG.close();
		location.reload();
	});
});
</script>